<gm:page title="SAIPortal" authenticate="false">
  
  <div class="gm-app-header">
    <h1>South-African Industrial Portal</h1>
  </div>
 
<table class="blue-theme">
  <tr>
    <td>
      <gm:tabs target="myContainer"/>
      <gm:container id="myContainer" style="width:600px">
        <gm:section id="section1" title="Home">
        </gm:section>
 
        <gm:section id="section2" title="Company Search">
          <gm:search id="CmpSearch" data="http://www.saiportal.co.za/xml/g_Companies.xml">
            <gm:param name="Name" value="Company A"/>
          </gm:search>
        
          <gm:list id="SearchList" template="CompanyListTemplate" data="${CmpSearch}"/>
        </gm:section>
 
        <gm:section id="section3" title="Buy">
        </gm:section>
 
        <gm:section id="section4" title="Sell">
        </gm:section>
 
        <gm:section id="section5" title="Bargain Bin">
          <iframe frameborder="0" width="100%" height="100%" name="main" src="http://www.saiportal.co.za/GG_Main.php">
        </gm:section>
 
        <gm:section id="section6" title="News24">
          <gm:list id="NewsList" template="NewsListTemplate" data="http://www.news24.com/news24RSSFeed/0,,2,00.xml" pagesize="10"/>
        </gm:section>
    
      </gm:container>
    </td>
    <td width="50" align="right">
      (Advertisement Section)
    </td>
  </tr>
</table>
 
   <gm:template id="NewsListTemplate">
    <table class="blue-theme" style="width:100%">
        <tr repeat="true">
          <td style="padding-bottom:10px">
            <b><gm:html ref="atom:title"/></b>
            <br>
            <gm:html ref="atom:summary"/>
          </td>
        </tr>
    </table>
  </gm:template>
  
  <gm:template id="CompanyListTemplate">
    <table class="blue-theme" style="width:100%">
        <tr repeat="true">
          <td style="padding-bottom:10px">
            <b><gm:text ref="g:Name"/></b>
            <br>
            <gm:text ref="g:ShortDesc"/>
          </td>
        </tr>
    </table>
  </gm:template>
  
  
   
</gm:page>
 
   




























































































































































































































































































































































































































































































































































































































































































































































































